package com.tm.d4_inner_class2;
/**
 * 2024/5/21 Cjj 静态内部类 17:32
 */
public class Outer {
    private   int age;

    public static String schoolName;
    //静态内部类
    public static class Inner{
        private String name;
        public static int a;

        public void test(){
            System.out.println(schoolName);
        }
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

    }

    public static void test2(){
        System.out.println(schoolName);

    }
}
